package com.muyu.danmo.mapper;


import com.muyu.danmo.domain.DanmoCollectPraise;

import java.util.List;

/**
 * 拾贝点赞Mapper接口
 *
 * @author yangle
 * @date 2024-10-30
 */
public interface DanmoCollectPraiseMapper
{
    /**
     * 查询拾贝点赞
     *
     * @param id 拾贝点赞主键
     * @return 拾贝点赞
     */
    public DanmoCollectPraise selectDanmoCollectPraiseById(Long id);

    /**
     * 查询拾贝点赞列表
     *
     * @param danmoCollectPraise 拾贝点赞
     * @return 拾贝点赞集合
     */
    public List<DanmoCollectPraise> selectDanmoCollectPraiseList(DanmoCollectPraise danmoCollectPraise);

    /**
     * 新增拾贝点赞
     *
     * @param danmoCollectPraise 拾贝点赞
     * @return 结果
     */
    public int insertDanmoCollectPraise(DanmoCollectPraise danmoCollectPraise);

    /**
     * 修改拾贝点赞
     *
     * @param danmoCollectPraise 拾贝点赞
     * @return 结果
     */
    public int updateDanmoCollectPraise(DanmoCollectPraise danmoCollectPraise);

    /**
     * 删除拾贝点赞
     *
     * @param id 拾贝点赞主键
     * @return 结果
     */
    public int deleteDanmoCollectPraiseById(Long id);

    /**
     * 批量删除拾贝点赞
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDanmoCollectPraiseByIds(Long[] ids);
}
